home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / DCLAP 6d / dclap6d / network / ncsasock / ma_types.h < prev    next >
Text File  |  1996-07-05  |  2KB  |  53 lines

  1. /*-
  2.  * Copyright (c) 1990 The Regents of the University of California.
  3.  * All rights reserved.
  4.  *
  5.  * Redistribution is only permitted until one year after the first shipment
  6.  * of 4.4BSD by the Regents.  Otherwise, redistribution and use in source and
  7.  * binary forms are permitted provided that: (1) source distributions retain
  8.  * this entire copyright notice and comment, and (2) distributions including
  9.  * binaries display the following acknowledgement:  This product includes
  10.  * software developed by the University of California, Berkeley and its
  11.  * contributors'' in the documentation or other materials provided with the
  12.  * distribution and in all advertising materials mentioning features or use
  13.  * of this software.  Neither the name of the University nor the names of
  14.  * its contributors may be used to endorse or promote products derived from
  15.  * this software without specific prior written permission.
  16.  * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
  17.  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  18.  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  19.  *
  20.  *    @(#)machtypes.h    7.4 (Berkeley) 6/25/90
  21.  */
  22.  
  23. #ifndef    _MACHTYPES_H_
  24. #define    _MACHTYPES_H_
  25.  
  26. /*
  27.  * Types which are fundamental to the implementation and may appear in
  28.  * more than one standard header are defined here.  Standard headers
  29.  * then use:
  30.  *    #ifdef    _SIZE_T_
  31.  *    typedef    _SIZE_T_ size_t;
  32.  *    #undef    _SIZE_T_
  33.  *    #endif
  34.  *
  35.  * Thanks, ANSI!
  36.  */
  37. // #define    _CLOCK_T_    unsigned long        /* clock() */ 
  38. // #define    _TIME_T_    long            /* time() */    /* in time.h for the mac */
  39. #define    _PTRDIFF_T_    int            /* ptr1 - ptr2 */
  40. #define    _SIZE_T_    unsigned int        /* sizeof() */
  41. #define    _VA_LIST_    char *            /* va_list */
  42. #define    _WCHAR_T_    unsigned short        /* wchar_t */
  43.  
  44. #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
  45. typedef struct _physadr {
  46.     int r[1];
  47. } *physadr;
  48. typedef struct label_t {
  49.     int val[14];
  50. } label_t;
  51. #endif
  52. #endif    /* _MACHTYPES_H_ */
  53.